<?php
require_once("../inc/session.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
body {
	background-color: #E4E4E4;
}
</style>
</head>

<body>
<?php if($_SESSION["level"]==1){?>
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tbody>
    <tr>
      <td height="35" align="center" bgcolor="#A2A2A2">信息管理</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="addshare.php" target="mainFrame">提交信息</a></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="sharelist.php" target="mainFrame">信息列表</a></td>
    </tr>
  </tbody>
</table>
	
<?php } ?>	

<?php if($_SESSION["level"]==0){?>
	 
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tbody>
    <tr>
      <td height="35" align="center" bgcolor="#A2A2A2">统计管理</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="reseach.php" target="mainFrame">信息检索</a></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="report.php" target="mainFrame">统计报表</a></td>
    </tr>
  </tbody>
</table>
<?php } ?>
<?php if($_SESSION["level"]==0 && $_SESSION["adminlevel"]==0){?>
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tbody>
    <tr>
      <td height="35" align="center" bgcolor="#A2A2A2">部门管理</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="adddepart.php" target="mainFrame">增加部门</a></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="departlist.php" target="mainFrame">部门列表</a></td>
    </tr>
  </tbody>
</table>
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tbody>
    <tr>
      <td height="35" align="center" bgcolor="#A3A3A3">管理员管理</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="addadmin.php" target="mainFrame">增加管理员</a></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="adminlist.php" target="mainFrame">管理员列表</a></td>
    </tr>
  </tbody>
</table>
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tbody>
    <tr>
      <td height="35" align="center" bgcolor="#A2A2A2">会员管理</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="addinfo.php" target="mainFrame">增加用户</a></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="userlist.php" target="mainFrame">用户列表</a></td>
    </tr>
  </tbody>
</table>
	<?php }?>
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tbody>
    <tr>
      <td height="35" align="center" bgcolor="#A2A2A2">系统管理</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#D6D6D6"><a href="exit.php" target="_top">退出系统</a></td>
    </tr>
  </tbody>
</table>
</body>
</html>
